package net.holmconsulting.ftp.server;

import java.io.File;
import java.util.logging.Level;

import net.holmconsulting.ftp.server.FTPServer;
import net.holmconsulting.ftp.server.Settings;


public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// sets the root directory on the ftp server
		File rootDir = new File("C:\\Users\\alanmehioNetBook\\tmp");
		Settings.setChrootdir(rootDir);
		Settings.setMonitor(true); // just to print the client incoming command
		Settings.setConsoleLogLevel(Level.FINEST); // lowest level of log
		FTPServer server = new FTPServer();
		server.start();

	}

}
